#ifndef MYDIALOG_H
#define MYDIALOG_H

#include <QWidget>
#include <QListWidgetItem>
#include <QHBoxLayout>
class MyTreeView;
class MyDialog : public QWidget
{
    Q_OBJECT
public:
    explicit MyDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
protected slots:
    void onItemClicked(QModelIndex);
signals:
private:
    QHBoxLayout*                m_pMainLayout;
    MyTreeView*                 m_pMyTreeView;
    QMap<QString,QWidget*>      m_mapWidget;
};

#endif // MYDIALOG_H
